<template>
  <div class="home">
      欢迎 <strong >{{ user.nickName }}</strong> !
  </div>
</template>
<script>
import idaas from "@/apis/idaas";
export default {
  data(){
    return {
      user: {
        nickName: ""
      }
    }
  },
  async created(){
   let user= await idaas.userinfo()
   this.user=user.data
  },
  methods: {
    innerJump() {
      this.$router.push('/about')
    },
    outerJump() {
      this.$router.push('/child-app1')
    }
  }
}
</script>
<style>
.name{
  
}
</style>